package com.company.abstractClass;
import com.company.inter.AP;


public class APHero extends Hero implements AP{
    @Override
    public void magicAttack(){
        System.out.println("进行魔法攻击");
    }

    @Override
    public void attack(){
        magicAttack();
    }
}
